<?php

namespace App\Models;

use App\Biz\HttpBiz;
use App\Biz\IntervieweeBiz;
use Dcat\Admin\Traits\HasDateTimeFormatter;
use Exception;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Model;


/**
 * App\Models\IntervieweeInformation
 *
 * @property int $id
 * @property string $name 名称
 * @property string $phone 电话
 * @property string $openId openId
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @property \Illuminate\Support\Carbon|null $deleted_at
 * @method static \Illuminate\Database\Eloquent\Builder|IntervieweeInformation newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|IntervieweeInformation newQuery()
 * @method static \Illuminate\Database\Query\Builder|IntervieweeInformation onlyTrashed()
 * @method static \Illuminate\Database\Eloquent\Builder|IntervieweeInformation query()
 * @method static \Illuminate\Database\Eloquent\Builder|IntervieweeInformation whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|IntervieweeInformation whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|IntervieweeInformation whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|IntervieweeInformation whereName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|IntervieweeInformation whereOpenId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|IntervieweeInformation wherePhone($value)
 * @method static \Illuminate\Database\Eloquent\Builder|IntervieweeInformation whereUpdatedAt($value)
 * @method static \Illuminate\Database\Query\Builder|IntervieweeInformation withTrashed()
 * @method static \Illuminate\Database\Query\Builder|IntervieweeInformation withoutTrashed()
 * @mixin \Eloquent
 */
class IntervieweeInformation extends Model
{
	use HasDateTimeFormatter;
    use HasFactory;

    protected $table = 'interviewee_information';

    protected $guarded = ['id'];

    /**
     * @return IntervieweeBiz
     * @throws Exception
     */
    public function intervieweeBiz(): IntervieweeBiz
    {
        return app('App\Biz\IntervieweeBiz', ['intervieweeInformation' => $this]);
    }
}
